﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YasharEl.Infrastructure.EntityModel;
using System.Runtime.Serialization;

namespace YasharEl.Infrastructure.Core.Users
{
    [Serializable]
    public class UserNotFoundException : DomainModelException
    {
        public UserNotFoundException(long identityNumber)
            : base(string.Format("User with identity number {0} not found.", identityNumber))
        {

        }

        protected UserNotFoundException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }
}
